package com.wz.project.bas.department.domain;

import com.wz.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 领用部门表 bas_department
 * 
 * @author sys
 * @date 2021-10-28
 */
public class Department extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private String departmentId;
	/** 领用人编号（允许为空） */
	private String departmentNo;
	/** 领用人名称（允许为空） */
	private String departmentName;
	/** 地址（允许为空） */
	private String cDesc;
	/** 是否可用（不允许为空） */
	private String useable;

	public void setDepartmentId(String departmentId) 
	{
		this.departmentId = departmentId;
	}

	public String getDepartmentId() 
	{
		return departmentId;
	}
	public void setDepartmentNo(String departmentNo) 
	{
		this.departmentNo = departmentNo;
	}

	public String getDepartmentNo() 
	{
		return departmentNo;
	}
	public void setDepartmentName(String departmentName) 
	{
		this.departmentName = departmentName;
	}

	public String getDepartmentName() 
	{
		return departmentName;
	}
	public void setCDesc(String cDesc) 
	{
		this.cDesc = cDesc;
	}

	public String getCDesc() 
	{
		return cDesc;
	}
	public void setUseable(String useable) 
	{
		this.useable = useable;
	}

	public String getUseable() 
	{
		return useable;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("departmentId", getDepartmentId())
            .append("departmentNo", getDepartmentNo())
            .append("departmentName", getDepartmentName())
            .append("cDesc", getCDesc())
            .append("useable", getUseable())
            .toString();
    }
}
